<!doctype html>
<html lang="en">
    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
	<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
	<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
	<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
    <title>奖品列表</title>
<html>
<body> 
<a href="{:url('Prize/prize_list')}">奖品列表</a>
  
  <div style="width: 90%;margin: 0 auto;margin-top: 30px">
        <form action="{:url('Prize/doEdit')}" method="post">
    
        <div class="form-group">
        <label >奖品名称</label>
        <input type="text" class="form-control" name="name" id="mobile" placeholder="请输入奖品名称" value="{$prize_info['name']}" required>
        </div>

        <div class="form-group">
        <label >中奖概览</label>
        <input type="number" class="form-control" name="probability" placeholder="请输入中奖概率" value="{$prize_info['probability']}" required>
        </div>
        
        <div class="form-group">
        <label >奖品数量</label>
        <input type="number" class="form-control" name="count" placeholder="请输入奖品数量" value="{$prize_info['count']}" required>
        </div>
        
        <input type="hidden" name="id" value="{$prize_info['id']}">
        <button id="doRegister" type="submit" class="btn btn-danger">保存</button>
    </form>
  </div>
</body>

</html>
</body>
<script type="text/javascript">
  
</script>
</html>